import Layout from '@/pages/index';

export default [
	{
		path: '/plug-in-unit',
		name: '功能插件',
		component: Layout,
		redirect: '/plug-in-unit/export2excel',
		meta: {
			isSidebar: true
		},
		children: [
			{
				path: '/plug-in-unit/export2excel',
				name: '单表格导出',
				component: () => import(/* webpackChunkName: "plug-in-unit" */ '@/views/plug-in-unit/Export2Excel'),
				meta: {
					keepAlive: true,
					isTab: false,
					isAuth: false,
					isSidebar: true
				}
			},
			{
				path: '/plug-in-unit/multipleSheetexport2excel',
				name: '多表格导出',
				component: () =>
					import(/* webpackChunkName: "plug-in-unit" */ '@/views/plug-in-unit/MultipleSheetExport2Excel'),
				meta: {
					keepAlive: true,
					isTab: false,
					isAuth: false,
					isSidebar: true
				}
			},
			{
				path: '/plug-in-unit/dom2excel',
				name: '复杂单表格',
				component: () => import(/* webpackChunkName: "plug-in-unit" */ '@/views/plug-in-unit/Dom2Excel'),
				meta: {
					keepAlive: true,
					isTab: false,
					isAuth: false,
					isSidebar: true
				}
			},
			{
				path: '/plug-in-unit/orgtree',
				name: '组织架构',
				component: () => import(/* webpackChunkName: "plug-in-unit" */ '@/views/plug-in-unit/OrgTree'),
				meta: {
					keepAlive: true,
					isTab: false,
					isAuth: false,
					isSidebar: true
				}
			},
			{
				path: '/plug-in-unit/globalquilleditor',
				name: '富文本1',
				component: () =>
					import(/* webpackChunkName: "plug-in-unit" */ '@/views/plug-in-unit/GlobalQuillEditor'),
				meta: {
					keepAlive: true,
					isTab: false,
					isAuth: false,
					isSidebar: true
				}
			}
		]
	}
];
